home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
btrieve
/
xqlwrq.exe
/
XQLWRQ.TXT
< prev
Wrap
Text File
|
1993-11-18
|
7KB
|
161 lines
NOVELL TECHNICAL INFORMATION DOCUMENT
TITLE: XQL Windows DLL 3.00c WXQLCALL.DLL
DOCUMENT ID: TID000452
DOCUMENT REVISION: B
DATE: 17NOV93
ALERT STATUS: Yellow
INFORMATION TYPE: Symptom Solution
README FOR: XQLWRQ.EXE
NOVELL PRODUCT and VERSION:
XQL for DOS 2.11
ABSTRACT:
This file contains the latest XQL Windows DLL 3.00c for use with DPMI patched
XQL for DOS 2.11.
──────────────────────────────────────────────────────────────────────────────
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL
MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. HOWEVER, THE
INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL
MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
──────────────────────────────────────────────────────────────────────────────
SYMPTOM
Users need general use information and installation instructions for
NetWare SQL 3.0 Requester for Windows (WXQLCALL.DLL) with XQL 2.11.
SOLUTION
Apply XQLWRQ.EXE and follow the installation instructions.
Solution Specifics:
General Information
This document describes how to install and use the NetWare SQL 3.0
Requester for Windows (WXQLCALL.DLL) with XQL 2.11. The NetWare SQL
Requester for Windows is an interface that uses the DOS Protected Mode
Interface (DPMI) that Windows provides to access XQL, which runs in real
mode.
Critical Information
Although you should read this entire file, pay special attention to this
section. It contains information critical to your success in using
WXQLCALL.DLL.
You can use XQL 2.x to develop and run applications using WXQLCALL.DLL
3.00c. If you want to run these applications in a NetWare environment,
you must upgrade or purchase NetWare SQL 3.0. (You can also use NetWare
SQL 3.0 to develop applications using WXQLCALL.DLL 3.00c)
Developing Your Application
This section discusses information pertinent to languages you may use to
develop XQL applications.
Developing Your Application with C
The header file NWSQLAPI.H contains the prototype definitions for the XQL
APIs (application programming interface); therefore, you should include
this header file in your application source files to ensure that the
correct calling sequence exists for interfacing with the XQL APIs.
NWSQLAPI.H includes the header file NWSQLINTH, which contains environment
configuration parameters.
In NWSQLINT.H, set the operating system environment to Windows in section
1, "OS Environment," and define which C compiler you are using in section
2, "C Compiler." In NetWare SQL 3.0, the levels of API support have
new names. The SQL-level functions correspond to XQLM, and the
relational primitives correspond to XQLP. By default, both API levels
are defined in section 3, "API Level Support."
After compiling your Windows application, link it with the import library
WXQLCALL.LIB.
Note: xRecall, xField, and xCompute give incorrect results whenyou
execute them using XQL.EXE 2.11a.
Developing Your Application with Other Languages
The NWSQLAPI.H file provides the information you need to determine how to
call the various functions in WXQLCALL.DLL. For more information on
calling Dynamic Link Library (DLL) functions, consult their language
reference for your compiler.
File Description
■XQLWRQ.TXT The document you are reading
■WXQLCALL.DLL NetWare SQL Requester interface for Windows 3.00c
■WXQLCALL.LIB Library containing symbols that the developer must link
with the application (if developing with C).
■NWSQLAPI.H Include file containing prototypes of XQL APIs.
■NWSQLINT.H Include file containing environment configuration
parameters.
NetWare SQL is a trademark of Novell, Inc.
NetWire is a service mark of Novell, Inc.
Windows is a trademark of Microsoft Corporation.
Self-Extracting File Name: XQLWRQ.EXE Revision: B
Files Included Size Date Time Version
\
XQLWRQ.TXT (This file)
WXQLCALL.DLL 18432 10-26-93 3:42p 3.00c
WXQLCALL.LIB 4608 10-21-93 11:28a 3.00c
NWSQLAPI.H 5999 12-03-91 5:00p
NWSQLINT.H 4087 03-11-92 3:40p
Installation Instructions:
Installing and Using WXQLCALL.DLL 3.00c with XQL 2.11
1. Before using WXQLCALL.DLL with XQL, apply optional patch 38 to
XQL.EXE, XQLO.EXE, XQLP.EXE, or XQLPO.EXE (whichever one you are
running).
2. Initialize WXQLCALL.DLL in the [NSREQDPMI] section of the NOVDB.INI
file. The default parameters for this section are as follows:
[NSREQDPMI]
datalength=4096 ; same as the /W: option used for XQL
views=8 ; same as the /V: option used for XQL
tasks=2 ; maximum tasks that can use WXQLCALL.DLL
concurrently
Note: The value for the datalength option must equal or exceed the
size of the largest record being accessed.
4. Load Btrieve and XQL before starting Windows, or place the commands
to load Btrieve and XQL in the WINSTART.BAT file. (You can use the
latter method only if you are using Windows in enhanced mode.)
Windows must be able to locate WXQLCALL.DLL.
Note: If you do not load Btrieve and XQL in WINSTART.BAT, you must
load them before loading Windows. Otherwise, your application
receives Status Code 2112.
■ To unload WXQLCALL.DLL, an XQL application running in Windows
must call xStop or XQLStop before terminating.
■ If you loaded Btrieve and XQL before starting Windows, make
sure all Windows tasks have exited, then unload Windows before
unloading XQL and Btrieve. Unload XQL by issuing the XQLUTIL
-STOP command from the DOS prompt. Unload Btrieve by issuing
the BUTIL -STOP command from the DOS prompt.
■ If you loaded Btrieve and XQL using the WINSTART.BAT file,
Windows unloads them when you exit the Windows environment.